﻿
Partial Class WebForm_ManageEnlistRecord
    Inherits System.Web.UI.Page

    Protected Sub lknAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lknAdd.Click
        Me.TabContainer1.ActiveTab = Me.AddTabPanel
    End Sub

    Protected Sub SearchEnlistRecord_Cancel(ByVal sender As Object, ByVal e As System.EventArgs) Handles SearchEnlistRecord1.Cancel
        Me.AddEnlistRecord1.DataBind()
    End Sub

    Protected Sub AddEnlistRecord_Finish(ByVal sender As Object, ByVal e As System.EventArgs) Handles AddEnlistRecord1.Finish
        Me.TabContainer1.ActiveTab = Me.SearchTabPanel
        Me.SearchEnlistRecord1.DataBind()
        Me.AddEnlistRecord1.DataBind()
    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'If clsAuth.GetUser().UserType = My.UserType.Employee Or clsAuth.GetUser().UserType = My.UserType.Person Then
        '    Response.Redirect("~\Public\OnlyForVolunteer.aspx")
        'End If
    End Sub
End Class

